#pragma once

#include "core/core.h"
#include <esp_task_wdt.h>
//#include "hal/wdt_hal.h"
//#include "soc/rtc_wdt.h"

class Watchdog
{
public:
    static void init();

    inline void feed()
    {
        esp_task_wdt_reset();
        //rtc_wdt_feed();
    }
};
extern Watchdog dog;